package cn.com.surker.enums.production;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * @Author lucky
 * @create 2024年06月03 11:05
 * @desc 结算类型 补贴计方式、运输单价计算方式calc_type 计算方式(0:补差量计算,1:实际量计算,2:按次计算,3:全量计算)
 */
public enum CalcBillTypeEnum implements ICodeDescEnum {
    BC(0,"按补差量计算"),
    SJ(1,"按实际量计算"),
    CS(2,"按次计算"),
    QL(3,"按超量计算"),
    ;

    private final String description;

    private final Integer code;

    CalcBillTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
